package com.yqg.education.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yqg.education.entity.DTO.AttachmentDTO;
import lombok.Getter;
import lombok.Setter;

/**
 * meeting 实体类
 *
 * @author zxf
 * @since 2025-05-07
 */
@Getter
@Setter
public class Meeting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 档期ID
     */
    private Long stageId;

    /**
     * 会议标题
     */
    private String meetTitle;

    /**
     * 会议内容
     */
    private String meetContent;

    /**
     * 开会时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private Integer isDelete;


    @TableField(exist = false)
    private String stageNum;

    /**
     * 附件
     */
    @TableField(exist = false)
    private List<AttachmentDTO> attachment;

}
